# $Id: PKGBUILD 66763 2012-02-28 09:12:45Z giovanni $
# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Angel Velasquez <angvp@archlinux.org> 

pkgname=typespeed
pkgver=0.6.5
pkgrel=4
pkgdesc="Test your typing speed, and get your fingers' CPS."
arch=('i686' 'x86_64')
url="http://typespeed.sourceforge.net"
license=('GPL')
depends=('ncurses')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('578102b418c7df84903d3e90df2e7483')

build() {
  cd $srcdir/$pkgname-$pkgver

  ./configure --prefix=/usr \
  	      --localstatedir=/var \
  	      --sysconfdir=/etc
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver

  make DESTDIR=$pkgdir install
}
